
let base = 'http://localhost:4000/api/';


// 首页接口
let index = {
    swiper: base + 'swiper',
    Class: base + 'class',
    hotsell: base + 'hotsell',
    floor: base + 'floor',
    promotion: base + 'promotion',
    recommend: base + 'recommend'
}
// 查看更多
let Bigsales = {
    Bigsales: base + 'promotion/more'
}   
// 分类
let Classify = {
    Classify: base + 'goods/class'
}
// 商品详情
let Detail = {
    uploadPic: base + 'uploadPic', //上传图片
    update: base + 'pay/update' ,//立即下单接口
    onegoods: base + 'onegoods', //访问页面数据
}
// 我的
let My = {
    more: base + 'order/more',//查看订单详情
    del: base + 'order/del',//删除订单
    rightnow: base + 'pay/rightnow',//立即支付
    notpay: base + 'notpay'//访问页面数据
}
// 搜素页面
let search = {
    searchTxt: base + 'searchTxt',//推荐搜索
    goods: base + 'goods' //搜索
}
export { index, Bigsales, Classify, Detail, My, search};